package org.jeecg.modules.bean.entity.print;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 打印收费记录表
 * @Author: jeecg-boot
 * @Date:   2023-10-19
 * @Version: V1.0
 */
@Data
@TableName("tb_print_charge_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tb_print_charge_record对象", description="打印收费记录表")
public class TbPrintChargeRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**付款用户id*/
	@Excel(name = "付款用户id", width = 15)
    @ApiModelProperty(value = "付款用户id")
    private String userId;
    /**付款用户姓名*/
    @Excel(name = "付款用户id", width = 15)
    @ApiModelProperty(value = "付款用户姓名")
    private String userName;
    /**付款方式*/
    @Excel(name = "收费内容", width = 15)
    @ApiModelProperty(value = "收费内容")
    private String paymentContent;
	/**付款方式*/
	@Excel(name = "付款方式", width = 15)
    @ApiModelProperty(value = "付款方式")
    private String paymentMethod;
	/**付款金额*/
	@Excel(name = "付款金额", width = 15)
    @ApiModelProperty(value = "付款金额")
    private BigDecimal paymentAmount;
	/**付款时间*/
	@Excel(name = "付款时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "付款时间")
    private Date paymentTime;
	/**付款状态（1付款成功 2退费成功  3待退费）*/
	@Excel(name = "付款状态（1付款成功 2退费成功  3待退费）", width = 15)
    @ApiModelProperty(value = "付款状态（1付款成功 2退费成功  3待退费）")
    private String paymentState;
	/**打印页数*/
	@Excel(name = "打印页数", width = 15)
    @ApiModelProperty(value = "打印页数")
    private Integer printNumber;
	/**修改时间*/
	@Excel(name = "修改时间", width = 15)
    @ApiModelProperty(value = "修改时间")
    private String modificationTime;
	/**操作人id*/
	@Excel(name = "操作人id", width = 15)
    @ApiModelProperty(value = "操作人id")
    private String operatorId;
	/**操作人名称*/
	@Excel(name = "操作人名称", width = 15)
    @ApiModelProperty(value = "操作人名称")
    private String operatorName;
	/**操作时间*/
	@Excel(name = "操作时间", width = 15)
    @ApiModelProperty(value = "操作时间")
    private String operatorTime;
	/**操作ip*/
	@Excel(name = "操作ip", width = 15)
    @ApiModelProperty(value = "操作ip")
    private String operatorIp;
	/**数据状态（伪删除1启用0失效）*/
	@Excel(name = "数据状态（伪删除1启用0失效）", width = 15)
    @ApiModelProperty(value = "数据状态（伪删除1启用0失效）")
    private String state;

    @TableField(exist = false)
    private String[] operatorIDS;
}
